package com.cdl.utils.bean;

import java.util.Arrays;

public class IndexInfo {

	private String indexName ;         //索引名称
	private String[] colNames ;        //索引列名
	private String[] fieldNames ;      //索引属性名
	private boolean unique ;     	   //是否唯一索引
	public String getIndexName() {
		return indexName;
	}
	public void setIndexName(String indexName) {
		this.indexName = indexName;
	}
	public String[] getColNames() {
		return colNames;
	}

	public String[] getFieldNames() {
		return fieldNames;
	}
	public void setFieldNames(String[] fieldNames) {
		this.fieldNames = fieldNames;
	}
	public void setColNames(String[] colNames) {
		this.colNames = colNames;
	}
	public boolean isUnique() {
		return unique;
	}
	public void setUnique(boolean unique) {
		this.unique = unique;
	}
	@Override
	public String toString() {
		return "IndexInfo [indexName=" + indexName + ", colNames="
				+ Arrays.toString(colNames) + ", fieldNames="
				+ Arrays.toString(fieldNames) + ", unique=" + unique + "]";
	}

	


	


	
	
}
